/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.spareparts.material.service;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.spareparts.material.entity.SparepartsDownParts;
import com.jeeplus.modules.spareparts.material.mapper.SparepartsDownPartsMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 下线备件管理Service
 * @author 王洋
 * @version 2020-10-14
 */
@Service
@Transactional(readOnly = true)
public class SparepartsDownPartsService extends CrudService<SparepartsDownPartsMapper, SparepartsDownParts> {

	public SparepartsDownParts get(String id) {
		return super.get(id);
	}
	
	public List<SparepartsDownParts> findList(SparepartsDownParts sparepartsDownParts) {
		return super.findList(sparepartsDownParts);
	}
	
	public Page<SparepartsDownParts> findPage(Page<SparepartsDownParts> page, SparepartsDownParts sparepartsDownParts) {
		return super.findPage(page, sparepartsDownParts);
	}
	
	@Transactional(readOnly = false)
	public void save(SparepartsDownParts sparepartsDownParts) {
		super.save(sparepartsDownParts);
	}
	
	@Transactional(readOnly = false)
	public void delete(SparepartsDownParts sparepartsDownParts) {
		super.delete(sparepartsDownParts);
	}
	
}